home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / ddx / sprite.X11R3 / spriteCG2M.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-02  |  1.6 KB  |  50 lines

  1. /*-
  2.  * spriteCG2M.c --
  3.  *    Functions to support the sprite CG2 board when treated as a monochrome
  4.  *    frame buffer.
  5.  *
  6.  * Copyright (c) 1987 by the Regents of the University of California
  7.  *
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  *
  17.  */
  18. #ifndef lint
  19. static char rcsid[] =
  20. "$Header: /sprite/src/X11R3/src/cmds/Xsp/ddx/sprite/RCS/spriteCG2M.c,v 1.1 87/06/16 12:20:29 deboor Exp $ SPRITE (Berkeley)";
  21. #endif lint
  22.  
  23. #include    "spriteddx.h"
  24. #include    "os.h"
  25.  
  26.  
  27. /*-
  28.  *-----------------------------------------------------------------------
  29.  * spriteCG2MProbe --
  30.  *    Attempt to find and map a cg2 framebuffer used as mono
  31.  *
  32.  * Results:
  33.  *    TRUE if everything went ok. FALSE if not.
  34.  *
  35.  * Side Effects:
  36.  *    Memory is allocated for the frame buffer and the buffer is mapped.
  37.  *
  38.  *-----------------------------------------------------------------------
  39.  */
  40. Bool
  41. spriteCG2MProbe (screenInfo, index, fbNum, argc, argv)
  42.     ScreenInfo      *screenInfo;    /* The screenInfo struct */
  43.     int              index;        /* The index of pScreen in the ScreenInfo */
  44.     int              fbNum;        /* Index into spriteFbData array */
  45.     int              argc;            /* The number of the Server's arguments. */
  46.     char          **argv;       /* The arguments themselves. Don't change! */
  47. {
  48.     return (FALSE);
  49. }
  50.